lib/sysroot: Document the NO_CLEAN flag
authorKrzesimir Nowak <krzesimir@kinvolk.io>
Fri, 2 Jun 2017 12:50:29 +0000 (14:50 +0200)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 2 Jun 2017 13:19:51 +0000 (13:19 +0000)
Closes: #900
Approved by: jlebon

src/libostree/ostree-sysroot.c

index b8f494bffdc68c0c26e1b9c583fa49dde76cc4a9..03e742f1b115d2132427323c881e2e7f7a8fa68b 100644 (file)
@@ -1412,6 +1412,11 @@ ostree_sysroot_init_osname (OstreeSysroot       *self,
  * If %OSTREE_SYSROOT_SIMPLE_WRITE_DEPLOYMENT_FLAGS_NOT_DEFAULT is
  * specified, then instead of prepending, the new deployment will be
  * added right after the booted or merge deployment, instead of first.
+ *
+ * If %OSTREE_SYSROOT_SIMPLE_WRITE_DEPLOYMENT_FLAGS_NO_CLEAN is
+ * specified, then no cleanup will be performed after adding the
+ * deployment. Make sure to call ostree_sysroot_cleanup() sometime
+ * later, instead.
  */
 gboolean
 ostree_sysroot_simple_write_deployment (OstreeSysroot      *sysroot,